﻿using BlogManager.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BlogManager.Service
{
    interface IPostRepository
    {
        List<Post> GetAll();
        Post Get(int id);
        Post Add(Post item);
        void Remove(int id);
        bool Update(Post item);
    }
}
